function anjian(){
    // console.log("111")
    var zhanghao = document.getElementById('zhanghao').value;
    console.log(zhanghao);
    var mima = document.getElementById('mima').value;
    console.log(mima);
    var qrmima = document.getElementById('qrmima').value;
    // var qr = document.getElementById("mima").value 
    console.log(qrmima)
    var yanzheng = document.getElementById('yanzheng').value;
    console.log(yanzheng)
    if(zhanghao ==  "" || /[\\+\-*\/%=!(\){}\[\]]/.test(zhanghao) ||zhanghao.includes(" ")){
        alert("账号格式不正确")
        return false
    }
    if(mima == "" || !/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).{8}$/.test(mima)){
        alert("密格式错误")
        return false
    }
    if(qrmima != mima ){
        alert("请确认密码")
        return false
    }
    if(yanzheng != "x8nc"){
        alert("验证码不正确")
        return false
    }
    window.location.href = "file:///D:/%E5%8A%9E%E5%85%AC%E5%AD%A6%E4%B9%A0/Vue/8.21%E4%BD%9C%E4%B8%9A/denglu.html";
}